#ifndef VERTEXBILLBOARD_H
#define VERTEXBILLBOARD_H

struct VERTEXBILLBOARD 
{
    D3DXVECTOR3 position_;	// vertex coords
    //DWORD color_;
    float tu_, tv_;		// textures coords

    VERTEXBILLBOARD(){};
    VERTEXBILLBOARD(const D3DXVECTOR3& pos, float tu, float tv);
};

//#define D3DFVF_VERTEXBILLBOARD (D3DFVF_XYZ | D3DFVF_DIFFUSE | D3DFVF_TEX1)
#define D3DFVF_VERTEXBILLBOARD (D3DFVF_XYZ | D3DFVF_TEX1)

inline VERTEXBILLBOARD::VERTEXBILLBOARD(const D3DXVECTOR3& pos, float tu, float tv)
    : position_(pos), tu_(tu), tv_(tv)
{
    //	COLOR = _COLOR;
}

#endif // VERTEXBILLBOARD
